import {Link} from "react-router-dom"
import ComponentSub from "../../../Routes/ComponentSub"
const Toplist=props=>{
    let {routes}=props
    return (
        <fieldset>
            <legend>排行榜</legend>
            <h1>这是在歌坛享誉盛名的排行榜</h1>
            <h2>至少还有你</h2>
            <h2>至少还有你</h2>
            <h2>至少还有你</h2>
            <h2>至少还有你</h2>
            <h2>至少还有你</h2>
            <Link to="/discover/toplist/hualist">华语歌曲排行榜</Link>
            {
                routes.map((item,index)=>{
                    return <ComponentSub {...item} key={index}/>
                })
            }
        </fieldset>
    )
}
export default Toplist